![]() |
|||
![]()
|
![]() |
![]() Click Here! |
![]() |
The Media Access Control Sublayer Function The IEEE 802.5 standard defines a set of services to be provided by the MAC sublayer of a Token Ring network. It includes frame transmission, token transmission, stripping, frame reception, priority operation, beaconing, and neighbor notification. Frame Transmission. This is controlled by the access mechanism for the media. When a station receives a transmit request from a higher layer, the medium access layer prefixes the higher-layer protocol data unit with the appropriate header and puts it into the transmission queues. The station then waits for the appearance of a free token (i.e., the access control field token it set to 0) in the ring. The node reserves the token by altering the bit to 1. It copies the tokens starting delimiter and access control, places them at the front of the data frame, and initiates transmission. The station continues to transmit until it has nothing to transmit or the token-holding timer expires. After the station receives the access control field of the last transmitted frame, it places a free token (T set to 0) into the ring and appends the appropriate bits to the end delimiter byte of the token. Token Transmission. At the end of transmission token-holding time, the station checks to verify that its address has been returned in the source address field, as indicated by the MA__FLAG. In the event of a failure, the station transmits fill frames until the MA__FLAG is set. At the end the station places a token into the ring. Stripping. After transmission of the frames, the station remains active until it has removed all transmitted frames from the ring. This simplifies the recovery mechanism that would be required if frames were allowed to circulate continuously on the ring. Frame Reception. Stations, while repeating the incoming signal stream, check it for frames they should copy or act on. If the frame-type bits indicate a media access control frame, the control bits are interpreted by all stations on the ring. In addition, if the frames DA field matches the stations individual address, relevant group address, or broadcast address, the FC, DA, SA, information, and FS fields are copied into a receive buffer and subsequently forwarded to the appropriate sublayer. Priority Operation. The 802.5 specification supports a three-component priority scheme. The priority bits (PPP) and the reservation bits (RRR) contained in the access control field are utilized by the priority algorithm. The algorithm supports three types of priorities:
The priority algorithm is a four-step process;
One possible drawback of the algorithm was the potential for a station to set the priority level at its highest value and maintain at that level. To avoid this situation, the 802.5 specification requires that each station maintain two stacks, one for reservation and the other for priority. Each station must ensure that no token circulates indefinitely because of its high priority. A station is able to detect this situation by remembering the priority of an earlier transmission. A station now can detect this condition and downgrade the priority to a lower priority or reservation. Beaconing and Neighbor Notification. For proper Token Ring operation, hard failure must be detected and isolated. Failure can occur at the station reporting the failure (the beaconing station), at the station upstream of the beaconing station, or on the intervening ring medium.
|
![]() |
|
Use of this site is subject certain Terms & Conditions. Copyright (c) 1996-1999 EarthWeb, Inc.. All rights reserved. Reproduction in whole or in part in any form or medium without express written permission of EarthWeb is prohibited. Please read our privacy policy for details. |